home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>1</cardCount>
- <cardID>2838</cardID>
- <listID>4087</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>on openStack
- global kWords
- global filNamn
- put empty into filNamn
- put empty into cd fld Filen
- put empty into cd fld Table
- get the screenRect
- IF (item 4 of it - item 2 of it) ‚â§ 342 THEN hide menuBar
- IF the hilite of cd btn "Non-ASCII" THEN taggem ELSE put empty into kWords
- end openStack
-
- on closeStack
- show menuBar
- end closeStack
-
- function fullPathToFileName fullPathName
- put the itemDelimiter into savedDelimiter
- set itemDelimiter to ":"
- put last item of fullPathName into fileName
- set itemDelimiter to savedDelimiter
- return fileName
- end fullPathToFileName
-
- function noTxt fullName
- get offset(".txt", fullName)
- IF it ≠ 0
- THEN delete char it to it + 3 of fullName
- return fullName
- end noTxt
-
- function tagged string
- global kWords
- IF string is empty THEN
- return string
- exit tagged
- END IF
- set itemDelimiter to comma
- repeat with c = 1 to the number of chars in string
- get charToNum(char c of string)
- IF it > 126 THEN put item (it - 126) of kWords after tString
- ELSE put char c of string after tString
- end repeat
- set itemDelimiter to tab
- return tString
- end tagged
-
- function linked string
- global kWords
- IF string is empty THEN
- return string
- exit linked
- END IF
- IF ".gif" is in string OR ".jpg" is in string OR ".jpeg" is in string
- THEN return "<IMG SRC=" & quote & string & quote & ">"
- ELSE return string
- end linked
-
- -- Kudos to Niklas Frykholm & HTML Pro for the codes!
- on taggem
- global kWords
- put ",Ä,Å,Ç,É,Ñ,Ö," ¬¨
- & "Ü,á,à,â,ä,ã,å," ¬¨
- & "ç,é,è,ê,ë,í,ì," ¬¨
- & "î,ï,ñ,ó,ò,ô,ö," ¬¨
- & "õ,ú,ù,û,ü,Ý,°,¢," ¬¨
- & "£,§,€,¶,ß,®,©,," ¬¨
- & "´,¨,‚,Æ,Ø,ƒ,±,¾," ¬¨
- & "„,¥,µ,,…,½,¼,†,ª," ¬¨
- & "º,‡,æ,ø,¿,¡,¬,ˆ," ¬¨
- & "Ÿ,‰,,«,»,Š, ,À," ¬¨
- & "Ã,Õ,‘,¦,­,‹,³,²," ¬¨
- & "Œ,¹,÷,×,ÿ,≈∏,Ž,¤,Ð," ¬¨
- & "ð,Þ,þ,ý,·,’,“,”,Â," ¬¨
- & "Ê,Á,Ë,È,Í,Î,Ï," ¬¨
- & "Ì,Ó,Ô,•,Ò,Ú,Û," ¬¨
- & "Ù,–,—,¯,˜,™,š,¸," ¬¨
- & "›,œ," into kWords
- end taggem
- </script>
- <background id="2710" file="background_2710.xml" name="" />
- <card id="2838" file="card_2838.xml" marked="false" name="" owner="2710" />
- </stack>
-